﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ZJF.DelegateWindowTest
{
    public partial class FrmChild : Form
    {
        public FrmChild()
        {
            InitializeComponent();
        }

        public TransferMsg SendMsg { get; set; }



        private void button1_Click(object sender, EventArgs e)
        {
            // 【5】调用委托变量
            SendMsg(this.childMsg.Text);
        }
    }
}
